package com.example.entity;

/**
 * @author 紫煦桉
 */
public class VolunteerMessage extends AbstractToString {
    private Integer volunteerNo;
    private String name;
    private String password;
    private String volunteerSex;
    private Integer volunteerTime;
    private Integer volunteerNum;
    private Dept dept;

    public VolunteerMessage() {
    }

    public VolunteerMessage(Integer volunteerNo) {
        this.volunteerNo = volunteerNo;
    }

    public VolunteerMessage(Integer volunteerNo, String name, String password, String volunteerSex, Integer volunteerTime, Integer volunteerNum) {
        this.volunteerNo = volunteerNo;
        this.name = name;
        this.password = password;
        this.volunteerSex = volunteerSex;
        this.volunteerTime = volunteerTime;
        this.volunteerNum = volunteerNum;
    }

    public VolunteerMessage(Integer volunteerNo, String name, String password, String volunteerSex, Integer volunteerTime, Integer volunteerNum, Dept dept) {
        this.volunteerNo = volunteerNo;
        this.name = name;
        this.password = password;
        this.volunteerSex = volunteerSex;
        this.volunteerTime = volunteerTime;
        this.volunteerNum = volunteerNum;
        this.dept = dept;
    }

    public Integer getVolunteerNo() {
        return volunteerNo;
    }

    public void setVolunteerNo(Integer volunteerNo) {
        this.volunteerNo = volunteerNo;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getVolunteerSex() {
        return volunteerSex;
    }

    public void setVolunteerSex(String volunteerSex) {
        this.volunteerSex = volunteerSex;
    }

    public Integer getVolunteerTime() {
        return volunteerTime;
    }

    public void setVolunteerTime(Integer volunteerTime) {
        this.volunteerTime = volunteerTime;
    }

    public Integer getVolunteerNum() {
        return volunteerNum;
    }

    public void setVolunteerNum(Integer volunteerNum) {
        this.volunteerNum = volunteerNum;
    }

    public Dept getDept() {
        return dept;
    }

    public void setDept(Dept dept) {
        this.dept = dept;
    }
}
